package com.dly.hope.service;

import com.dly.hope.model.ro.AddGroupUserRo;
import com.dly.hope.model.ro.CreateGroupRo;
import com.dly.hope.model.ro.KickOutRo;
import com.dly.hope.model.ro.UpdateGroupRo;
import com.dly.hope.model.vo.GroupAddMessageVo;
import com.dly.hope.model.vo.GroupVo;
import com.dly.hope.model.vo.MemberVo;

import java.util.List;

public interface GroupService {


    List<GroupVo> getGroup(String userId);

    List<GroupAddMessageVo> getFriendAddMessage(String userId);

    void intoGroup(String userId, String groupNumber);

    void addGroupUser(String userId, AddGroupUserRo addGroupUserRo);

    String createGroup(String userId, CreateGroupRo createGroupRo);

    void agreeGroupUser(String userId, String id);

    void refusalFriend(String userId, String id);

    GroupVo getGroupInfo(String groupId);

    List<MemberVo> getGroupMember(String groupId);

    void exitGroup(String userId, String groupId);

    void updateGroup(String userId,UpdateGroupRo updateGroupRo);

    void kickOut(String userId, KickOutRo kickOutRo);
}
